#pragma once

#ifdef WIN32
#include <Windows.h>
#else
#include <cstdlib>
#include <ctime>
#endif

namespace vortex
{
    class Timer
    {
    private:
#if WIN32
        LARGE_INTEGER frequency;
        LARGE_INTEGER startCount;
#else
        clock_t start;
#endif
    public:
        Timer();
        void Start();
        float Stop();
    };
}
